Skip to content

Slim per-integration search tool definitions - #1749

Merged
RhysSullivan merged 1 commit into
mainfrom
slim-search-tools
Aug 26, 2026
Merged

Slim per-integration search tool definitions#1749
RhysSullivan merged 1 commit into
mainfrom
slim-search-tools

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Follow-up to #1741: the search_ definitions cost too much context — 551 serialized chars per tool (~5k tokens at 30 integrations, more after client-side rendering).

  • One shared one-line description; the tool NAME already carries the namespace, so repeating the slug (twice) bought nothing.
  • Input schema is a single bare querylimit/offset are gone; paging a namespace belongs in execute.
  • New unit test pins every serialized definition under 300 chars so the surface cannot silently bloat back.

~250 chars/tool now (≈2k tokens at 30 integrations, >55% cut). Same dispatch flow, unit + selfhost e2e green.

@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing b1dbe5f Commit Preview URL

Branch Preview URL
Aug 26 2026, 01:51 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud b1dbe5f Aug 26 2026, 01:52 AM

@pkg-pr-new

pkg-pr-new Bot commented Aug 26, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1749

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1749

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1749

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1749

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1749

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1749

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1749

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1749

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1749

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1749

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1749

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1749

executor

npm i https://pkg.pr.new/executor@1749

commit: b1dbe5f

@RhysSullivan
RhysSullivan marked this pull request as ready for review August 26, 2026 05:09
@RhysSullivan
RhysSullivan merged commit d4afe0c into main Aug 26, 2026
44 checks passed
@RhysSullivan RhysSullivan mentioned this pull request Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant